home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 110 / EnigmaAmiga110CD.iso / dalla rivista / host contacted / wbstartup+.lha / WBStartup+ / Source / WBStartup+OS3.5 / WBStartup+.h < prev    next >
C/C++ Source or Header  |  2000-02-27  |  2KB  |  47 lines

  1. struct WBStartupNode
  2. {
  3.   struct Node node;
  4.   struct DiskObject *diskobj;
  5.   unsigned long   StackSize;
  6.   long   toolpri;
  7.   unsigned long   wait;
  8. };
  9.  
  10. struct WBStartupPrefs
  11. {
  12.   char ExecutePath[200];
  13.   char StoragePath[200];
  14.   BOOL ShowWindow;
  15.   UBYTE BackgroundType;
  16.   char BackgroundFilename[201];
  17.   BOOL Interactive;
  18.   char PrefsPath[200];
  19.   char PubScreenName[200];
  20.   UBYTE FillGaugeType;
  21.   BOOL OnlyIcons;
  22.   BOOL UseWBStart;               // use WBStart library instead of workbench library to run the programs
  23.   char RunPrefsQual [11];        // input event qualifier to run prefs program
  24.   char InteractiveQual [11];     // input event qualifier to run interactively
  25.   char DisableQual [11];         // input event qualifier to disable WBStartup+
  26. };
  27.  
  28. /* Types for BackgroundType */
  29. #define NONE       0
  30. #define WORKBENCH  (WBP_ROOT+1)
  31. #define WINDOWS    (WBP_DRAWER+1)
  32. #define SCREEN     (WBP_SCREEN+1)
  33. #define USERDEFINED ((unsigned char)(~0))
  34.  
  35. void GetFilenames(struct List *filenamequeue, APTR memPool, char *directory, BOOL ShowWindow, BOOL OnlyIcons);
  36. void RunPrograms(struct List *filenamequeue, struct WBStartupPrefs *prefs);
  37. void GetArguments(long argc, STRPTR *argv, struct WBStartupPrefs *prefs);
  38. void ShowRequester(STRPTR RequesterText);
  39. void DisplayVars(void);
  40. void FreeIcons(struct List *list);
  41. void RunPrefs(struct WBStartupPrefs *prefs);
  42. struct Node *FindNameNoCase(struct List *list, char *name);
  43. BOOL CheckSemaphore(void);
  44. UBYTE OpenLibraries (void);
  45. void CloseLibraries (void);
  46.  
  47.